﻿using System;

namespace Skynet.CommonLibrary.ExceptionEx
{
    [Serializable]
    public class ExceptionEntity
    {
        /// <summary>
        /// 异常编号
        /// </summary>
        public int ExId { get; set; }
        /// <summary>
        /// 友好提示
        /// </summary>
        public string FriendlyInfo { get; set; }
        /// <summary>
        /// 异常详细信息
        /// </summary>
        public string ExStackTrace { get; set; }
        /// <summary>
        /// 异常信息
        /// </summary>
        public string ExMsg { get; set; }
        /// <summary>
        /// 引发异常的方法
        /// </summary>
        public string ExTarget { get; set; }
        /// <summary>
        /// 时间
        /// </summary>
        public DateTime ExLastTime { get; set; }
        /// <summary>
        /// 异常所在的层名称
        /// </summary>
        public string LayerName { get; set; }
        /// <summary>
        /// 异常出现次数
        /// </summary>
        public double ExCount { get; set; }
    }
}
